
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>广州现代教务系统管理</title>
    <style>
        tr{
            height: 36px;
            text-align: center;
        }
        input{
            border-top: none;
            border-left:none ;
            border-right: none;
            outline: none;
            width: 100%;
            height: 36px;
            text-align: center;
        }
        button{
            border: none;
            outline: none;
            width: 100%;
            height: 36px;
        }
        button:hover{
            background-color: aqua;
        }
        .sub:hover{
            background-color: aqua;
        }
        a:link {color: blue; text-decoration:none;}
    </style>
</head>
<body>
<h1 style="text-align: center">广州现代教务系统管理</h1>
<div>
    <%@ include file="/common.jsp" %>
</div>
<div style="display: flex;justify-content: center">
                <div style=" width: 100%;text-align: center">
                        <h3>更新-我的教师信息</h3>
                    <div style="display: flex;justify-content: center;">
                        <table width="630px" cellspacing="0" style="line-height: 36px">
                            <form action="/teacher/modifyNow.do" method="post">
                                <tr>
                                    <td>姓名：</td>
                                    <td><input type="text" name="name" value="${loginState.name}" required="required"></td>
                                </tr>
                                <tr>
                                    <td>密码：</td>
                                    <td><input type="text" name="pwd" value="${loginState.pwd}" maxlength="15" required="required"></td>
                                </tr>
                                <tr>
                                    <td>手机号：</td>
                                    <td><input type="text" name="phone" value="${loginState.phone}" maxlength="9" required="required" oninput="value=value.replace(/[^\d]/g,'')"></td>
                                </tr>
                                <tr><td></td><td><input class="sub" style="border: none;" type="submit" value="更新数据"></td></tr>
                            </form>
                            <tr></tr>
                        </table>
                    </div>

                </div>

</div>
</body>
</html>
